<%--
  Created by IntelliJ IDEA.
  User: tangyubin
  Date: 15-3-4
  Time: 下午7:11
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title></title>
    <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/css/bootstrap.css">
    <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/css/bootstrap-theme.css">
    <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/css/student.css">
    <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/css/teacher.css">
    
    <script type="text/javascript" src="${pageContext.request.contextPath}/js/jquery.js"></script>
    <script type="text/javascript" src="${pageContext.request.contextPath}/js/bootstrap.js"></script>
    <script type="text/javascript" src="${pageContext.request.contextPath}/js/teacher.js"></script>
</head>
<body style="background:transparent">
    <div class="container" id="panel">
        
        	<s:iterator value="markBeans" var="markBean">
        		<div class="row message">
        			${tips }
						<%-- <s:property value="#tips"/> --%>
				</div>
        		<div class="row">
	        		<form class="form-horizontal" role="form" id="info-form" action="markWork" method="post">
	        			<%-- <input id="workId" type="text" name="workId" hidden="hidden" value='<s:property value="#markBean.workId"/>'/> --%>
	        			<input id="markId" type="text" name="markId" hidden="hidden" value='<s:property value="#markBean.markId"/>'/>
		                <div class="form-group">
		                    <label for="workTitle" class="col-md-2 col-sm-2 control-label">作品名称</label>
		                    <div class="col-md-10 col-sm-10">
		                        <input name="workTitle" type="text" class="form-control opacity" placeholder="" value='<s:property value="#markBean.workTitle"/>'>
		                    </div>
		                </div>
		                <div class="form-group">
		                    <label for="workType" class="col-md-2 col-sm-2 control-label">作品类型</label>
		                    <div class="col-md-10 col-sm-10">
		                        <input name="workType" type="text" class="form-control opacity" placeholder="" value='<s:property value="#markBean.workType"/>'>
		                    </div>
		                </div>
		                <div class="form-group">
		                    <label for="college" class="col-md-2 col-sm-2 control-label">作品评分</label>
		                    <div class="col-md-10 col-sm-10">
		                        <input name="score" type="text" class="form-control opacity" placeholder="" value='<s:property value="#markBean.score"/>'>
		                    </div>
		                </div>
		                <div class="form-group">
		                    <label for="comment" class="col-md-2 col-sm-2 control-label">评语</label>
		                    <div class="col-md-10 col-sm-10">
		                        <input name="comment" type="text" class="form-control opacity" placeholder="" value='<s:property value="#markBean.comment"/>'>
		                    </div>
		                </div>
		                <div class="form-group">
		                	<div class="col-md-10 col-sm-10 col-md-offset-2 col-sm-offset-2">
		                    	<a href='${pageContext.request.contextPath}/<s:property value="#markBean.workFileURL"/>' class="btn btn-block btn-info">下载作品</a>
		                    </div>
		                </div>
		                <div class="form-group">
		                	<div class = "col-md-10 col-sm-10 col-md-offset-2 col-sm-offset-2">
		                    	<input type="submit" class="btn btn-block btn-info"/>
		                    </div>
		                </div>
		            </form>
		        </div>
			</s:iterator>
    </div>
</body>
</html>
